using System.Collections;
using System.Collections.Generic;
using Nirvana.SkillEditor;
using UnityEngine;
using UnityEngine.Playables;

namespace Nirvana.SkillEditor
{
    public class SkillPlayableBehaviour : PlayableBehaviour
    {
        public SkillPlayableAsset skillPlayableAsset;

        public override void PrepareFrame(Playable playable, FrameData info)
        {
            base.PrepareFrame(playable, info);
            skillPlayableAsset.PrepareFrame(playable, info);
        }

        public override void ProcessFrame(Playable playable, FrameData info, object playerData)
        {
            base.ProcessFrame(playable, info, playerData);
            skillPlayableAsset.ProcessFrame(playable, info, playerData);
        }
    }
}
